Mapped members can be tagged with one or more tags. When performing operations, the developer can specify that only members with certain tag, or combination of tags, will be affected.
A mapping tag is any non-empty string.
In order to place a mapping tag on any mapped member, use the MappingTag attribute with it. You can repeat the MappingTag attribute on the member, if you wish the member be tagged with multiple tags.
If you are creating library objects that can be shared with other projects or developers, you are responsible for making sure that the same tag is not accidentally used for different purposes. It is therefore recommended to design a scheme that prevents such conflicts. For example, you may use a namespace approach, and have tags such as ”MyCompany.MyProduct.MyComponent.MyTag”.